Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add authentication app for login and logout functionality; update templates #19

Merged
merged 16 commits into from
May 26, 2024

Conversation

Fer-Bar
Copy link
Owner

@Fer-Bar Fer-Bar commented May 26, 2024

Summary

This pull request introduces a new app named authentication to handle user login and logout functionalities. The following changes have been made:

Created authentication app:

  • Added a new Django app called authentication to manage the authentication processes.
  • Updated INSTALLED_APPS in settings.py to include the new authentication app.

Login and Logout Functionality:

  • Implemented login functionality using Django's built-in LoginView.
  • Implemented logout functionality.
  • Updated the urls.py to include routes for login and signup using the new authentication app.

Template Updates:

  • Updated the login template (login_page.html) to display a login form.
  • Updated other templates to include a logout button, ensuring the user can log out from the system.

Testing

  • Verified that the login page renders correctly and authenticates users.
  • Ensured that users can log out successfully and are redirected appropriately.
  • Checked that existing functionalities are not impacted by these changes.

@Fer-Bar Fer-Bar requested a review from enrker May 26, 2024 04:48
@Fer-Bar Fer-Bar self-assigned this May 26, 2024
@Fer-Bar Fer-Bar added the enhancement New feature or request label May 26, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Fer-Bar Fer-Bar merged commit 419f7b7 into main May 26, 2024
2 checks passed
@Fer-Bar Fer-Bar deleted the feature/auth-methods branch May 26, 2024 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant